/**
  * 描述：
  * 
  * @Author ${author}
  * @mail ${mail}
  * @Date ${date}
  */
import fetch from '@/utils/fetch';

const gcDispenserApi = {
    getData (url,data,) {
        return fetch({
            url: url,
            method: 'get',
            params: data
        });
    },
    getVehicleData (url,data) {
        return fetch({
            url: url,
            method: 'get',
            params: data
        });
    },
    add (url,data,) {
        return fetch({
            url: url,
            method: 'post',
            data: data,
        })
    },
    update (url,data,) {
        return fetch({
            url: url,
            method: 'put',
            params: data,
            data: data
        });
    },
    del (url,data,) {
        return fetch({
            url: url,
            method: 'delete',
            data: data
        });
    },
	getDown(id){
		return fetch({
			url: '/api/sysOrg/'+id,
			method: 'get',
		})
	},
};
export default gcDispenserApi;
